all:
	g++ cards.cpp deck.cpp player.cpp blackjack.cpp networking.cpp MainWindow.cpp -o MainWindow `wx-config --libs --cflags`

#MainWindowObjects = cards.o deck.o MainWindow.o
#WarObjects = 
#BlackjackObjects = cards.o deck.o player.o blackjack.o main.o

#CFLAGS = -g -Wall
#.SUFFIXES: .cxx .cpp

#.cxx.o:
#	g++ $(CFLAGS) -C $<

#.cpp.o:
#	g++ $(CFLAGS) -c $<

#all: MainWindow Blackjack

#MainWindow: $(MainWindowObjects) 
#	g++ $(CFLAGS) $(MainWindowObjects) -o MainWindow `wx-config --libs --cflags`

#BlackJack: $(BlackjackObjects) 
#	g++ $(CFLAGS) $(BlackjackObjects) -o Blackjack

#clean:
#	rm -f $(MainWindowObjects) $(BlackjackObjects) MainWindow Blackjack

#cards.o:	cards.h
#deck.o:		deck.h
#MainWindow.o:	MainWindow.h
#player.o:	player.h
#blackjack.o:	blackjack.h